﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Download_Info_Add.aspx.cs" Inherits="Admin_Download_Info_Add" ValidateRequest="false"%>

<%@ Register assembly="CKFinder" namespace="CKFinder" tagprefix="CKFinder" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加信管系简介-河北大学管理学院信息管理系</title>
    <meta name="Keywords" content="河北大学管理学院信息管理系" />
    <meta name="Description" content="河北大学管理学院信息管理系官方网站" />
    <meta name="Author" content="朱胜贤、孙旭峰、水亚亚、张文元、项玥、吕芳、吴凡、谢静、李亚慧" />
    <meta name="Copyright" content="本系统版权归 河北大学信管团队 所有。All Rights Reserved" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="../CSS/AD_Pub.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../ckeditor/ckeditor.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="Container">
        <div id="Header"><asp:Label ID="lblTitle" runat="server" Text=""></asp:Label></div>
        <div id="Pagebody">
            <asp:Label ID="lblMessage" Text="" runat="server"></asp:Label>
            <div class="line1">
                <div class="lineLeft">类别：</div>
                <div class="lineRight">
                    <asp:DropDownList ID="ddlDownType" runat="server"></asp:DropDownList>
                    <asp:Label ID="lblID" runat="server" Text="" Visible="false"></asp:Label>
                </div>
            </div>
            <div class="line2">
                <div class="lineLeft">标题：</div>
                <div class="lineRight">
                <asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*标题不能为空！" ForeColor="Red" ControlToValidate="txtTitle"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="line1">
                <div class="lineLeft">关键词：</div>
                <div class="lineRight">
                <asp:TextBox ID="txtKeywords" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*关键词不能为空！" ControlToValidate="txtKeywords" ForeColor="red"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="line3">
                <div class="lineLeft">下载描述：</div>
                <div class="lineRight">
                    <asp:TextBox ID="txtDowDescribe" runat="server" CssClass="ckeditor" Height="250px" 
                        TextMode="MultiLine" Width="500px"></asp:TextBox>
                  
                </div>
            </div>
            <div class="line1">
                <div class="lineLeft">是否显示：</div>
                <div class="lineRight">
                    <asp:CheckBox ID="ckbIsShow" runat="server" Checked="true" Text="显示"/>
                    <asp:CheckBox ID="ckbPassed" runat="server" Text="通过审核" />
                </div>
            </div>
            <div class="line2">
                <div class="lineLeft">是否推荐：</div>
                <div class="lineRight">
                    <asp:CheckBox ID="ckbOnTop" runat="server" Text="置顶"/>
                    <asp:CheckBox ID="ckbHot" runat="server" Text="热门" />
                </div>
            </div>
            <div class="line1">
                <div class="lineLeft">上传附件：</div>
                <div class="lineRight">
                                                   
                <asp:FileUpload ID="FileUploadUrl" runat="server" />
                    <asp:Label ID="lblDownUrl" runat="server" Text="" ForeColor="red"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*附件不能为空" ForeColor="red" ControlToValidate="FileUploadUrl"></asp:RequiredFieldValidator>
                    <asp:HiddenField ID="hfDownUrl" runat="server" />
                </div>
            </div>
            <div class="line2">
                <div class="lineLeft">点击次数：</div>
                <div class="lineRight">
                    <asp:TextBox ID="txtHits" runat="server" Width="50px" Text="0"></asp:TextBox><span class="f1">说明：请输入整数，也可以设置为空</span>
                </div>
            </div>
            <div class="line1">
                <div class="lineLeft">添加时间：</div>
                <div class="lineRight">
                    <asp:TextBox ID="txtUpdateTime" runat="server" Text=""></asp:TextBox>
                </div>
            </div>
            <div id="bottom">
                <asp:Button ID="btnOK" CssClass="btn" runat="server" Text="确 定" 
                    onclick="btnOK_Click" />
                &nbsp;
                <asp:Button ID="btnCancel" CssClass="btn" runat="server" Text="取 消" 
                    CausesValidation="False" onclick="btnCancel_Click" />
            </div>
        </div>
        
    </div>
    </form>
</body>
</html>
